// Copyright (c) 2014 Morten Bakkedal
// This code is published under the MIT License.

using System;
using System.Collections.Generic;

using FuncLib.Functions;

namespace FuncLib.DualFunctions.Collections
{
	[Serializable]
	public class GradientBuilder : Dictionary<Variable, double>
	{
		public Gradient ToGradient()
		{
			return new Gradient(this);
		}
	}
}
